PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

GetCustomIconsEnabled

Tells you whether custom icons are enabled or disabled on a specified volume.

pascal OSErr GetCustomIconsEnabled(
                     SInt16 vRefNum,
                     Boolean*customIconsEnabled);

vRefNum
A value of type SInt16 specifying the volume whose status you are querying.

customIconsEnabled
A pointer to a value of type Boolean . On return, Icon Services sets this value to true if custom icons are enabled on the volume specified or false if custom icons are disabled on the volume specified.

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)